namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0109 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.SysServerStartUp", "ServerStartupId", c => c.Guid(nullable: false, identity: true));
            DropPrimaryKey("dbo.SysServerStartUp", new[] { "TaskId" });
            AddPrimaryKey("dbo.SysServerStartUp", "ServerStartupId");
            DropColumn("dbo.SysServerStartUp", "TaskId");
        }
        
        public override void Down()
        {
            AddColumn("dbo.SysServerStartUp", "TaskId", c => c.Guid(nullable: false, identity: true));
            DropPrimaryKey("dbo.SysServerStartUp", new[] { "ServerStartupId" });
            AddPrimaryKey("dbo.SysServerStartUp", "TaskId");
            DropColumn("dbo.SysServerStartUp", "ServerStartupId");
        }
    }
}
